<script setup lang="ts">
 import { onLoad } from '@dcloudio/uni-app'
 import { ref } from 'vue'
 const webViewURL = ref('')

 onLoad((options:any) => {
   if(options.url){
     webViewURL.value = decodeURIComponent(options.url)
   }
 })
</script>

<template>
  <web-view :src="webViewURL"></web-view>
</template>

<style scoped lang="scss">

</style>
